import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import Cookies from 'js-cookie'
import ElementPlus from 'element-plus'
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
import 'element-plus/dist/index.css'
// 导入富文本编辑器

const app = createApp(App)
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
    app.component(key, component)
}
// app.config.productionTip = false
app.use(router);
app.use(ElementPlus);
app.use(Cookies);
app.mount("#app");
